# ============================================================================
#  Name	 : Icons_scalable_dc.mk
#  Part of  : SmartCam
#
#  Description: This is file for creating .mif file (scalable icon)
# 
# ============================================================================


ifeq (WINS,$(findstring WINS, $(PLATFORM)))
ZDIR=$(EPOCROOT)epoc32\release\$(PLATFORM)\$(CFG)\Z
else
ZDIR=$(EPOCROOT)epoc32\data\z
endif

# For the menu icon
TARGETDIR=$(ZDIR)\RESOURCE\APPS
ICONTARGETFILENAME=$(TARGETDIR)\SmartCam_0xE696FBC9.mif

# For the icons used by the application code
TARGETDIR_PRIVATE=$(ZDIR)\private\E696FBC9
ICONTARGETFILENAME_PRIVATE=$(TARGETDIR_PRIVATE)\SmartCamGfx.mif

# Headers for both
HEADERDIR=$(EPOCROOT)epoc32\include
HEADERFILENAME=$(HEADERDIR)\SmartCam_0xE696FBC9.mbg
HEADERFILENAME_PRIVATE=$(HEADERDIR)\SmartCamGfx.mbg

ICONDIR=..\gfx

do_nothing :
	@rem do_nothing

MAKMAKE : do_nothing

BLD : do_nothing

CLEAN : do_nothing

LIB : do_nothing

CLEANLIB : do_nothing

# ----------------------------------------------------------------------------
# NOTE: if you have JUSTINTIME enabled for your S60 3rd FP1 or newer SDK
# and this command crashes, consider adding "/X" to the command line.
# See <http://forum.nokia.com/document/Forum_Nokia_Technical_Library_v1_35/contents/FNTL/Build_process_fails_at_mif_file_creation_in_S60_3rd_Ed_FP1_SDK.htm>
# ----------------------------------------------------------------------------

RESOURCE :	
	mifconv $(ICONTARGETFILENAME) /h$(HEADERFILENAME) \
		/c32 $(ICONDIR)\SmartCam.svg
	mifconv $(ICONTARGETFILENAME_PRIVATE) /h$(HEADERFILENAME_PRIVATE) \
		/c32 $(ICONDIR)\Logo.svg
		
FREEZE : do_nothing

SAVESPACE : do_nothing

RELEASABLES :
	@echo $(ICONTARGETFILENAME)

FINAL : do_nothing

